package com.zhaojun.cloud.z.view.controller.user;

import com.zhaojun.cloud.common.net.HttpUtil;
import com.zhaojun.cloud.z.view.config.ZuulServerUrlUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * wwj
 * 2019/1/3  13:24
 */
public class LoginController {

    private final Logger logger = LoggerFactory.getLogger(LoginController.class);

    @RequestMapping("/login")
    public void login() {
        try {
            String resultString = HttpUtil.doPost(ZuulServerUrlUtil.getZhaojun_zuul_url() + "/welcome",null);
        } catch (Exception e) {
            logger.error(e.getMessage(),e);
        }

    }
}
